package com.itheima.service.impl;

import com.itheima.dao.UserDao;
import com.itheima.model.User;
import com.itheima.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component("userService")
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;
    public void save(){

    }

    public List<User> find_all() {
        return userDao.find_all();
    }
}
